// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  devtools: { enabled: true },
  runtimeConfig: {
    public: {
      baseURL: 'https://api.vliangao.cn'
    }
  },
  css: ['~/assets/css/main.css', '~/assets/css/scrollbars.css'],
  components: [
    { path: '~/components/LG', prefix: 'U', pathPrefix: false },
    { path: '~/components/layout', prefix: 'Layout', pathPrefix: false }
  ],
  modules: [
    // eslint
    '@nuxtjs/eslint-module',
    // content
    '@nuxt/content',
    // UI
    '@nuxt/ui',
    // fonts
    // '@nuxt/fonts',
    // iamge
    '@nuxt/image',
    // vueuse
    '@vueuse/nuxt',
    // store
    '@pinia/nuxt'
  ],
  ui: {
    icons: ['heroicons', 'simple-icons']
  },
  pinia: {
    storesDirs: ['./stores/**']
  }
})
